{% extends 'base.html' %}
{% block content %}
        <div class="col-md-8 ">
        <span> <a href="/rbac/user/list/" class="btn btn-success">用户列表</a></span>
        <div class="panel panel-primary" style="margin-top: 10px">
            <div class="panel-heading">
{#                {% for item in request.url_record %}#}
{#                 <a href="/web{{ item.url }}" style="color: white">{{ item.title }}</a>#}
{#                {% endfor %}#}
            </div>
            <form  style="margin-left: 10px" action="" method="post">
                {% csrf_token %}
                <div class="form-group" style="margin-top: 10px">
                    <label for="">旧密码</label>
                    <input type="password" class="form-control" name="old_pwd" id="=old_pwd">
                    <span style="color: red">{{ status.error }}</span>
                </div>
                  <div class="form-group" style="margin-top: 10px">
                    <label for="">新密码</label>
                    <input type="password" class="form-control" name="pwd" id="=pwd">
                </div>
                  <div class="form-group" style="margin-top: 10px">
                    <label for="">确认密码</label>
                    <input type="password" class="form-control" name="re_pwd" id="=re_pwd">
                      <span style="color: red">{{ status.msg }}</span>
                </div>
                <input type="submit" value="保存" class="btn btn-primary">
            </form>
        </div>
    </div>
{% endblock content %}